package org.webshop.backend.data;


public class Product {

    private int id;
    private String designation, url;
    private double price;

    public Product(int id, String designation, String url, double price) {
        super();
        this.id = id;
        this.designation = designation;
        this.url = url;
        this.price = price;
    }
    public Product(String url, String designation, double price) {
        super();
        this.designation = designation;
        this.url = url;
        this.price = price;
    }

    public Product(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDesignation() {
        return designation;
    }

    public void setDesignation(String designation) {
        this.designation = designation;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }


}
